package com.bdqn.membersystem.servicce.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.bdqn.membersystem.pojo.LeaveMessage;
import com.bdqn.membersystem.mapper.LeaveMessageMapper;
import com.bdqn.membersystem.servicce.LeaveMessageService;
@Service
public class LeaveMessageServiceImpl implements LeaveMessageService{

    @Resource
    private LeaveMessageMapper leaveMessageMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return leaveMessageMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insertSelective(LeaveMessage record) {
        return leaveMessageMapper.insertSelective(record);
    }

    @Override
    public LeaveMessage selectByPrimaryKey(Long id) {
        return leaveMessageMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(LeaveMessage record) {
        return leaveMessageMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateBatch(List<LeaveMessage> list) {
        return leaveMessageMapper.updateBatch(list);
    }

    @Override
    public int batchInsert(List<LeaveMessage> list) {
        return leaveMessageMapper.batchInsert(list);
    }

    @Override
    public int insertOrUpdate(LeaveMessage record) {
        return leaveMessageMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(LeaveMessage record) {
        return leaveMessageMapper.insertOrUpdateSelective(record);
    }

}
